package com.jiang.demo2.bean;

import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class User {

    private  String name;
    private String pwd;
    private String nick;
    private int  age=3;
    private String code;

    public User(String name,String pwd,String code){
        this.name = name;
        this.pwd = pwd;
        this.code = code;
        nick = "小白";
    }

    @Override
    public String toString() {
        return "name:"+ this.name + ",pwd:" + pwd;
    }
}
